<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
	<form class="form-horizontal m" id="form-exarrange-edit" >
		<input id="uid" name="uid"th:value="${exarrange.uid}"  type="hidden">
			<div class="form-group">
			<label class="col-sm-3 control-label">科目：</label>
			<div class="col-sm-8">
				<input id="kmid" name="kmid"th:value="${exarrange.kmid}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">考试号：</label>
			<div class="col-sm-8">
				<input id="ksid" name="ksid"th:value="${exarrange.ksid}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">分类题号集合：</label>
			<div class="col-sm-8">
				<input id="paperdata" name="paperdata"th:value="${exarrange.paperdata}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">批次：</label>
			<div class="col-sm-8">
				<input id="pc" name="pc"th:value="${exarrange.pc}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">考场号：</label>
			<div class="col-sm-8">
				<input id="kch" name="kch"th:value="${exarrange.kch}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">指定IP：</label>
			<div class="col-sm-8">
				<input id="loginip" name="loginip"th:value="${exarrange.loginip}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">登录IP：</label>
			<div class="col-sm-8">
				<input id="loginip2" name="loginip2"th:value="${exarrange.loginip2}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">本机mac：</label>
			<div class="col-sm-8">
				<input id="localip" name="localip"th:value="${exarrange.localip}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">首次进入时间：</label>
			<div class="col-sm-8">
				<input id="signintime"  name="signintime"th:value="${exarrange.signintime}" class="form-control time-input" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">具体开始时间：</label>
			<div class="col-sm-8">
				<input id="starttime"  name="starttime"th:value="${exarrange.starttime}" class="form-control time-input" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">具体结束时间：</label>
			<div class="col-sm-8">
				<input id="endtime"  name="endtime"th:value="${exarrange.endtime}" class="form-control time-input" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">已考时长：</label>
			<div class="col-sm-8">
				<input id="udtime" name="udtime"th:value="${exarrange.udtime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">0未考4考试中8正常交卷：</label>
			<div class="col-sm-8">
				<!--<input id="status"  name="status"th:value="${exarrange.status}" class="form-control time-input" type="text"> -->
				<div class="onoffswitch">
					<input type="checkbox" th:checked="${exarrange.status? true : false}" class="onoffswitch-checkbox" id="status" name="status">
					<label class="onoffswitch-label" for="status">
						<span class="onoffswitch-switch"></span>
						<span class="onoffswitch-inner"></span>
					</label>
				</div>
			</div>
		</div>
		</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
	var prefix = ctx + "exam/exarrange";
	$("#form-exarrange-edit").validate({
		onkeyup: false,
		rules:{
			xxxx:{
				required:true,
			},
		}
	});

	function submitHandler() {
		if ($.validate.form()) {
			$.operate.save(prefix + "/editDo", $('#form-exarrange-edit').serialize());
		}
	}
</script>
</body>
</html>
